package com.example.monitor.model.DTO;

import lombok.Data;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Positive;

@Data
public class UserAbnormalRecordsQueryDTO {
    @NotBlank(message = "工人ID不能为空")
    private String workerId;  // 工人编号

    @Positive(message = "页码必须为正数")
    private Integer page = 1; // 默认第一页

    @Positive(message = "每页条数必须为正数")
    private Integer pageSize = 10; // 默认每页10条
}